encoding/json/jsontext.stateEntry.isObject (method)

10 uses

	encoding/json/jsontext (current package)
		decode.go#L399: 		if d.Tokens.Last.isObject() {
		decode.go#L889: 			if (d.Tokens.Last.isObject() && next == ']') || (d.Tokens.Last.isArray() && next == '}') {
		decode.go#L1203: 	case i > 0 && s.isObject():
		encode.go#L254: 	if last := e.Tokens.Last; !last.isObject() || !last.NeedObjectName() || last.Length() == 0 {
		encode.go#L313: 	if last := e.Tokens.Last; !last.isObject() || last.Length() != 1 {
		encode.go#L976: 	case i > 0 && s.isObject():
		errors.go#L95: 			case d.Tokens.Last.isObject():
		state.go#L195: 		case e.isObject():
		state.go#L322: 	case !m.Last.isObject():
		state.go#L463: func (e stateEntry) isObject() bool {